package com.xin.springbootjurisdiction.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * 用户表
 */
@Entity
@Data
@DynamicUpdate
public class AdminInfo {
    @Id
    private String adminId;  //管理员ID

    private String telephone;  //手机号即为账号

    private String password; //密码(加密)

    private String email;  //邮箱

    private Date createTime; //创建时间

    private Date updateTime;  //修改时间



}
